import { httpData } from '@/utils/types';
import { get, post } from '@/utils/request';

/**
 * 库内盘点
 */
// 分页
export function getList(data?: httpData) {
    return get('/cylinder/spot/check/list', data);
}

// 新增
export function save(data?: httpData) {
    return post('/cylinder/spot/check/save', data);
}

// 删除
export function deleteBatchApp(data?: httpData) {
    return post('/cylinder/spot/check/deleteBatchApp', data);
}

// 查看详情
export function getDetail(data?: httpData) {
    return get('/pc/warehouse/take/stock/detail', data);
}

// 查看待盘物料清单
export function searchCylinderList(data?: httpData) {
    return get('/warehouse/take/stock/cylinder/relate/list/query', data);
}

// 盘点列表扫码
export function scanCylinder(data?: httpData) {
    return get('/cylinder/spot/check/detail/scan', data);
}

// 查看单绑定的气瓶
export function bindCylinderList(data?: httpData) {
    return get('/cylinder/spot/check/detail', data);
}

// 扫码点检删除
export function checkDetailDeleteBatch(data?: httpData) {
    return post('/cylinder/spot/check/detail/deleteBatch', data);
}
